T h e   G r e a t   W a l l   o f   C h i n a   o r i g i n a l l y   b e g a n   a s   a   s e r i e s   o f   s e p a r a t e   f o r t i f i c a t i o n s   t h a t   w e r e   l a t e r   j o i n e d   a n d   f u r t h e r   i m p r o v e d .   T h e i r   m a i n   p u r p o s e   w a s   t o   p r o t e c t   t h e   s t a t e s   o f   C h i n a   a g a i n s t   n o m a d i c   r a i d s   a n d   i n v a s i o n s   f r o m   t h e   E u r a s i a n   S t e p p e .   A s   t h e   w a l l s   w e r e   m a d e   o f   v a r i o u s   m a t e r i a l s   i n c l u d i n g   s t o n e ,   b r i c k ,   w o o d ,   a n d   e a r t h ,   a n d   h a d   t o   w i t h s t a n d   b o t h   t h e   t e s t   o f   t i m e   a n d   n u m e r o u s   h o s t i l i t i e s ,   t h e   G r e a t   W a l l   h a d   t o   c o n t i n u e   t o   b e   r e b u i l t   a n d   e n h a n c e d   f o r   c e n t u r i e s . 